try
    picture=imread('11.bmp','bmp');
    filename='11.bmp';
catch
    picture=imread('11.jpg','jpg');
    filename='11.jpg';
end
filename
imshow(picture)

